package com.liao.badminton.filter;

import cn.hutool.core.collection.CollectionUtil;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class IgnorePathParm implements ApplicationRunner {
    public static List<String> ignoreList = CollectionUtil.newArrayList();

    @Override
    public void run(ApplicationArguments args) throws Exception {
        ignoreList.add("/author/**");
        ignoreList.add("/security-auth/**");
//        ignoreList.add("/user/sysInfo/list");
    }


}
